package com.healthshare.busi.news;

import com.healthshare.parse.news.NewsListParse;
import com.palmedia.framework.business.BaseBusi;
import com.palmedia.framework.myinterface.UiCallBack;
import com.palmedia.framework.parse.BaseParse;

public class NewsListBusi extends BaseBusi
{

	//二级分类news/newsclass?type=100
	public  String  tail = "news/newsclass.php?type=";
	
	public String type = "";
	public NewsListBusi(UiCallBack bCallBack)
	{
		super(bCallBack);
	}
	
	public void iExecute()
    {
		reqParam = tail+type;
    	super.iExecute();
    }
	
	@Override
	protected BaseParse parseResult(byte[] data)
	{
		// TODO Auto-generated method stub
		NewsListParse	ls = new NewsListParse();
		ls.type=type;
		ls.Parse(data);
		return ls;
	}
	
	
	
}
